/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package org.jfonia.commands;

import org.jfonia.view.main.ClipBoard;
import org.jfonia.view.main.Project;

/**
 *
 * @author Rik Bauwens
 */
public class CopyCommand extends Command
{
        public CopyCommand()
        {

        }

        @Override
        protected void execute()
        {
                ClipBoard.getInstance().setData(Project.getInstance().getSelected());
                System.out.println(ClipBoard.getInstance().getData());
        }

        @Override
        protected void undo()
        {
                //Not needed
        }
}
